/* 页脚样式文件 */

.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

/* 页脚顶部 */
.footer-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-contact h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}

.footer-contact address {
    font-style: normal;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #ccc;
}

.contact-phone,
.contact-email {
    margin-bottom: 10px;
    color: #ccc;
}

/* 订阅表单 */
.footer-subscribe h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}

.subscribe-form {
    display: flex;
    margin-bottom: 15px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background-color: #444;
    color: #fff;
}

.subscribe-form input::placeholder {
    color: #aaa;
}

.subscribe-form button {
    padding: 0 20px;
    background-color: #a67c52;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
    background-color: #8a6642;
}

.subscribe-message {
    font-size: 14px;
    color: #aaa;
}

/* 页脚底部 */
.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 30px;
}

.footer-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-category h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 15px;
}

.footer-category ul li {
    margin-bottom: 10px;
}

.footer-category ul li a {
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-category ul li a:hover {
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-categories {
        grid-template-columns: 1fr;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        margin-bottom: 10px;
    }
    
    .subscribe-form button {
        width: 100%;
        padding: 12px;
    }
}